package com.ruoyi.carUser.service.imp;

import com.ruoyi.carUser.mapper.CarMapper;
import com.ruoyi.carUser.service.CarService;
import com.ruoyi.system.api.domain.CarInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;
@Service
public class CarServiceImpl implements CarService {
    @Autowired
    private CarMapper carMapper;
    @Override
    public List<CarInfo> carList(Integer userId) {
        return carMapper.carList(userId);
    }
}
